package com.hunau.system.domain;

import com.hunau.common.core.domain.BaseEntity;

/**
 * @program: ruoyi
 * @description: 地址树
 * @author: Mr.Liu
 * @create: 2020-03-17 09:09
 **/
public class AddrTree extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 地址ID */
    private Long deptId;

    /** 父地址ID */
    private Long parentId;

    /** 当前地址名称 */
    private String deptName;

    /** 父地址名称 */
    private String parentName;

    public AddrTree(Long deptId, Long parentId, String deptName, String parentName) {
        this.deptId = deptId;
        this.parentId = parentId;
        this.deptName = deptName;
        this.parentName = parentName;
    }

    public AddrTree() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }
}
